<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>StringFingerprint</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">StringFingerprint()</font></b></p>
<p><b>语法</b></p><blockquote>

Result$ = <font color="#3A3966"><b>StringFingerprint</b></font>(String$, Plugin [, Bits [, Format]])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns a fingerprint for the given string. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>String$</i></td>
<td width="90%"> 
 
The string to hash. 

 

</td></tr>
<tr><td><i>Plugin</i></td>
<td> 
The plugin to use. 它可以是以下值之一︰ 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Cipher_CRC32</font>: uses CRC32 algorithm. <a href="usecrc32fingerprint.html">UseCRC32Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_MD5</font>  : uses MD5 algorithm. <a href="usemd5fingerprint.html">UseMD5Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA1</font> : uses SHA1 algorithm. <a href="usesha1fingerprint.html">UseSHA1Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA2</font> : uses SHA2 algorithm. <a href="usesha2fingerprint.html">UseSHA2Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA3</font> : uses SHA3 algorithm. <a href="usesha3fingerprint.html">UseSHA3Fingerprint()</a> needs to be called before to register this plugin.
</font></pre>

</td></tr>
<tr><td><i>Bits (optional)</i></td>
<td> 
 
The bits number to use for the fingerprint. It is only supported for the following plugin: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Cipher_SHA2</font> : can be 224, 256 (default), 384 or 512.
  <font color="#924B72">#PB_Cipher_SHA3</font> : can be 224, 256 (default), 384 or 512.
</font></pre>

</td></tr>
<tr><td><i>Format (optional)</i></td>
<td> 
The string format to use before hashing it. 它可以是以下值之一︰ 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_UTF8</font>    : the string will be hashed in UTF8 format (default).
  <font color="#924B72">#PB_Ascii</font>   : the string will be hashed in ASCII format.
  <font color="#924B72">#PB_Unicode</font> : the string will be hashed in Unicode (UTF16) format.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the fingerprint as an hexadecimal string. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">  UseMD5Fingerprint</font>()

  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">StringFingerprint</font>("yourpassword", <font color="#924B72">#PB_Cipher_MD5</font>)
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="filefingerprint.html">FileFingerprint()</a>, <a href="startfingerprint.html">StartFingerprint()</a>, <a href="fingerprint.html">Fingerprint()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=startfingerprint.html>StartFingerprint()</a> - <a href="index.html">Cipher Index</a> - <a href="usecrc32fingerprint.html">UseCRC32Fingerprint()</a> -&gt;<br><br>

</body></html>